import request from '@/utils/request'

// 查询交易配置信息列表
export function listCustTransactionSetting(query) {
    return request({
        url: '/business/CustTransactionSetting/list',
        method: 'get',
        params: query
    })
}

// 查询交易配置信息详细
export function getCustTransactionSetting(id) {
    return request({
        url: '/business/CustTransactionSetting/' + id,
        method: 'get'
    })
}

// 新增交易配置信息
export function addCustTransactionSetting(data) {
    return request({
        url: '/business/CustTransactionSetting',
        method: 'post',
        data: data
    })
}

// 修改交易配置信息
export function updateCustTransactionSetting(data) {
    return request({
        url: '/business/CustTransactionSetting',
        method: 'put',
        data: data
    })
}

// 删除交易配置信息
export function delCustTransactionSetting(id) {
    return request({
        url: '/business/CustTransactionSetting/' + id,
        method: 'delete'
    })
}

// 导出交易配置信息
export function exportCustTransactionSetting(query) {
    return request({
        url: '/business/CustTransactionSetting/export',
        method: 'get',
        params: query
    })
}